package com.mars.ucenter.web.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.mars.base.common.base.BaseController;
import com.mars.base.common.utils.Paginator;
import com.mars.ucenter.rpc.api.UserService;

@RestController
@RequestMapping(value="/api/ucenter")
public class UserController extends BaseController {

	@Autowired
	private UserService service ;
	
	@GetMapping(value="/list")
	public Object list() {
		return this.service.selectPage(new Paginator(this.request));
	}
	
}
